﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StructureMap.Configuration.DSL;

namespace AndrewSiemer.KnowledgeExchange.DataAccess.Structure
{
    public class DataAccessRegistry : Registry 
    {
        public DataAccessRegistry()
        {
            ForRequestedType<IPostRepository>().TheDefault.Is.OfConcreteType<PostRepository>();
            ForRequestedType<IConnection>().TheDefault.Is.OfConcreteType<Connection>();
        }
    }
}
